package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * RoleMenuButtonMap: 角色菜单按钮关系表
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/4 14:46</td>
 * <td>zhangqianyang</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author zhangqianyang
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ASSISTANT_ROLE_MENU_BUTTON_MAP")
public class RoleMenuButtonMap implements Serializable {

    private static final long serialVersionUID = 5803341808411388703L;
    /**
     * 按钮ID
     */
    @TableId(value = "ROLE_MENU_BUTTOM_MAP_ID", type = IdType.ASSIGN_UUID)
    private String roleMenuButtomMapId;

    /**
     * 创建用户ID
     */
    @TableField("CREATE_USER_ID")
    private String createUserId;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 修改用户ID
     */
    @TableField("UPDATE_USER_ID")
    private String updateUserId;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

    /**
     * 备注
     */
    @TableField("MEMO")
    private String memo;

    /**
     * 菜单ID
     */
    @TableField("MENU_ID")
    private String menuId;

    /**
     * 角色ID
     */
    @TableField("ROLE_ID")
    private String roleId;

    /**
     * 按钮ID
     */
    @TableField("BUTTON_ID")
    private String buttonId;

}
